/*
 *  emulator asynchronous dump tool 
 *
 *  Copyright (c) 2003-2005 Fabrice Bellard
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

/* Common header file that is included by all of qemu.  */
#ifndef QEMU_STATS_H
#define QEMU_STATS_H 

#define SHARED_MEM_KEY 123321

typedef struct REMOTE_CONTROL
{
   /* a force flush pending ? */
   volatile int force_flush;
   /* a force stats dump pending ? */
   volatile int force_dump;
   /* a force stats dump pending ? */
   volatile int force_reset;
} REMOTE_CONTROL;

void dump_module_stats(void);
void reset_module_stats(void);
   
#endif // INSTRUMENT_DATA_H
